<?php
/**
 * Created by PhpStorm.
 * User: helloxingtongshi
 * Date: 2016-06-06
 * Time: 14:54
 */
    require "message.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><>网络留言板模式<></title>
    <script type="text/javascript" src="time.js"></script>
    <style type="text/css">
        #form1 table tr td {
            text-align: center;
        }
    </style>
</head>

<body>
    <form  name="message" method="post" action="message.php">
        <center><h1>网络留言板模式</h1></center>
        <center><h3>Message Board</h3></center>
        <table width="529" border="0" align="center">
            <tr>
                <td><div align="center">
                        <table width="529" border="0">
                            <tr>
                                <td width="117">用户名：</td>
                                <td width="402"> <input type="text" name="username" id="username" /></td>
                            </tr>
                            <tr>
                                <td>标题：</td>
                                <td> <input type="text" name="title" id="title" /></td>
                            </tr>
                            <tr>
                                <td>时间：</td>
                                <td>
                                    <input type="text" name="time" id="time"style="border:1px solid #999;" onclick="fPopCalendar(event,this,this)" onfocus="this.select()" readonly="readonly" />
                                </td>
                            </tr>
                            <tr>
                                <td>内容：</td>
                                <td><label for="textarea"></label>
                                    <textarea name="content" id="content" cols="30" rows="5"></textarea></td>
                            </tr>
                            <tr>
                                <td></td>
                                <td><div align="center">
                                        <input type="submit" name="dosubmit" value="留言"/>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>

